FROM registry.cn-hangzhou.aliyuncs.com/zyzbp/openjdk:17

MAINTAINER wangx iamwx@foxmail.com

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/\$TZ /etc/localtime && echo \$TZ > /etc/timezone

COPY zbp-flowable-server.jar /app.jar

ENTRYPOINT ["java", "-Xmx1024M", "-Djava.security.egd=file:/dev/./urandom", "-Ddruid.mysql.usePingMethod=false", "-jar", "/app.jar"]